Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

C/C++本地代码调试

帖子发起人: qiliu3   发起时间: 2014-06-10 10:05 上午   回复: 2

Print Search
帖子排序:    
   2014-06-10, 10:05 上午
qiliu3 离线,最后访问时间: 2014/6/10 2:03:42 qiliu3

发帖数前75位
注册: 2014-02-14
发 贴: 16
OMAP是什么的缩写?
Reply Quote
原文:It is called OMAP code optimization.

It is used to make code that needs to be present in memory smaller. So instead of flat ad dress  space  for  compiled  function  we  have  pieces  of  it  scattered  here  and  there. 

This leads  to  an  ambiguity  when  we  try  to  disassemble OMAP  code  at its  address  because WinDbg doesn’t know whether it should treat address range as a function offset (starting  from  the  beginning  of the  function  source  code)  or  just  a  memory  layout  offset (starting  from  the  address  of  that  function). 

结合上下文,我理解是张老师讲过的“代码流放”的意思,只是我不清楚OMAP到底是什么英文单词的缩写?

IP 地址: 已记录   报告
   2014-06-11, 21:01 下午
Raymond 离线,最后访问时间: 2020/7/3 3:40:25 格蠹老雷

发帖数前10位
注册: 2005-12-19
发 贴: 1,303
Re: OMAP是什么的缩写?
Reply Quote
因为与TI的处理器架构重名,所以搜索时会搜到很多无关的东西

看DbgHelp文档中的定义:

typedef struct _OMAP {
  ULONG rva;
  ULONG rvaTo;
} OMAP, *POMAP;

就是O + Map,O估计是Optimization,优化代码映射,也或许是Object code,总之意思是一样的

IP 地址: 已记录   报告
   2014-06-13, 15:43 下午
qiliu3 离线,最后访问时间: 2014/6/10 2:03:42 qiliu3

发帖数前75位
注册: 2014-02-14
发 贴: 16
Re: OMAP是什么的缩写?
Reply Quote
谢谢张老师!
IP 地址: 已记录   报告
高端调试 » 软件调试 » C/C++本地代码调试 » OMAP是什么的缩写?

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.